<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>register.jsp</title>
<style>
input{
         heiget:23px;
         background:rgba(238,238,238,0.4);
         margin-bottom:15px;
         coler:#fff;
         font-size:15px;
}
body{
         background:url(bg.jpg);
         color:#fff;
         text-align:center;
         font-weight:bold;
}
div{
          background:rgba(238,238,238,0.3);
          width:300px;
          padding：5px 8px 5px 8px;
          margin:8% auto 0 auto;
          border:1px solid #fff;
          border-radius:5px;
}
</style>
</head>
<body>
<div> 
   <h2>用户注册</h2>
      <form action="register_check.jsp" method="post">
      名字：<input type="text" name="username" ><br>
      密码：<input type="password" name="password" ><br>
      确认：<input type="password" name="password2"><br>
      性别：<input type="radio" name="gender" value="male" checked>男&nbsp;&nbsp;
           <input type="radio" name="gender" value="female">女&nbsp;&nbsp;<br>
      年龄：<input type="text" name="age"><br>
      邮箱：<input type="text" name="email"><br>
     
      <input type="submit" value="注册"  style="font-weight:bold;color:white"/>&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="button" value="取消" onclick="window.location='login.jsp'" style="font-weight:bold;color:white"/>
      </form>
     </div>
</body>
</html>